<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OA协同办公系统</title>
<link href="css/background.css" rel="stylesheet" type="text/css" />
<link href="css/table.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/openwindow.js"></script>
<script type="text/javascript" src="js/table.js"></script>
<script type="text/javascript">
	function openDocument(id){
		var url="createDocument.action?flowId="+id;
		openWindow(url,screen.width-50,screen.height-100);
	}
	
</script>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tbody>
  <tr>
    <td style="background: url('image/wsoa_window_002.gif');" width="1"></td>
    <td style="background: url('image/wsoa_window_002.gif');"><table border="0" cellpadding="0" cellspacing="0">
      <tbody><tr>
        <td align="center" style="background: url('image/wsoa_window_002.gif');" width="10"><img src="image/center_19.gif"></td>
        <td align="center" style="background: url('image/wsoa_window_002.gif');"></td>
        <td>公文管理 &gt; ${menuName } &gt; 起草</td>
        </tr>
    </tbody>
    </table></td>
    <td style="background: url('image/wsoa_window_002.gif');" width="1"></td>
  </tr>
  <tr>
    <td style="background: url('image/wsoa_window_010.gif');"  width="1">&nbsp;</td>
    <td>
<!-- 按周 -->
<table width="100%">
<tbody><tr>
<td style="vertical-align: top;" width="72%">
<!-- 全部,流程设置 -->


<!--按日  -->
<table style="margin-top: 10px" align="center" id="tabllist" class="righ_list" frame="box" cellspacing="1" cellpadding="0" width="100%"  border="0">
<tbody>
<tr class="reigh_list2">
	<th width="20%">流程名称</th>
	<th>流程备注</th>
	<th width="7%">操作</th>
</tr>
<c:if test="${empty flowList}">
<tr id="row">
	<td colspan="3">
		没有相关数据！
	</td>
</tr>
</c:if>
<c:forEach items="${flowList}" var="flow">
<tr id="row" onmouseover="overStyle(this)" onmouseout="outStyle(this)">
	<td>${fn:substring(flow.name,0,10)}</td>
	<td>${fn:substring(flow.note,0,35)}</td>
    <td align="center"><a href="javascript:openDocument('${flow.id}')">起草</a></td>
</tr>
</c:forEach>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

     </td>
<td style="background: url('image/wsoa_window_006.gif');"  width="1">&nbsp;</td></tr>
  <tr>
    <td height="1" width="1"><img src="image/wsoa_window_009.gif" height="16" width="14"></td>
    <td style="background: url('image/wsoa_window_008.gif');" height="1"></td>
    <td height="1" width="1"><img src="image/wsoa_window_007.gif" height="16" width="12"></td>
  </tr>
</tbody>
</table>
</body>
</html>